﻿[#include "../include/html_header.html"/]
<script src="${base}/thirdparty/My97DatePicker/WdatePicker.js" type="text/javascript"></script>

</head>
<body>
[#include "../include/html_header_top.html"/]

<div class="am-container">
    <div class="am-cf admin-main">
        <!-- sidebar start -->
        [#include "member_nav.html"/]
        <div class="admin-content">

            <div class="am-u-sm-12">
            <form  action="myscore.htm" method="post" class="am-form">

                    <div>
                        <table id="detailShowtab" class="am-table">
                            <thead>
                            <tr>
                                <th width="100" style="text-align:left; padding-left:20px;">礼品名称</th>
                                <th width="100">数量</th>
                                <th width="100">状态</th>
                                <th width="100">积分</th>
                                <th width="100">收货地址</th>
                                <th width="100">日期</th>
                                <th width="100">操作</th>
                            </tr>
                            </thead>
                            <tbody>
                            [#list list as giftExchange]
                            <tr>
                                <td style="text-align:left;vertical-align: middle; height:60px;">
                                    ${giftExchange.gift.giftName}
                                </td>
                                <td>${giftExchange.amount!}</td>
                                <td>[@s.m "exchange.status.${giftExchange.status}"/]</td>
                                <td>${giftExchange.totalScore!}</td>
                                <td>${giftExchange.detailaddress!}</td>
                                <td>${giftExchange.createTime?string('yyyy-MM-dd HH:mm:ss')}</td>
                                [#if giftExchange.status=2]
                                <td><a href="${base}/shopScore/exchange_accomplish.htm?id=${giftExchange.id!}">确认收货</a>
                                </td>
                                [/#if]
                            </tr>
                            [/#list]
                            </tbody>
                        </table>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<div class="clear"></div>

[#include "../include/footer.html"/]

</body>
</html>